/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author Ti Oc
 */
public class Slide 
{   
    //<editor-fold defaultstate="collapsed" desc="1. Các thuộc tính">
     private int idSlide;
     private String image;
     private String link;
     private int isPublish;
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="2. Các phương thức khởi tạo">
    public Slide()
    {
        this.idSlide = -1;
        this.image = "";
        this.link = "";
        this.isPublish = -1;
    }

    public Slide(int idSlide, String image, String link, int isPublish) 
    {
        this.idSlide = idSlide;
        this.image = image;
        this.link = link;
        this.isPublish = isPublish;
    }
    
    public Slide(Slide s)
    {
        this.idSlide = s.idSlide;
        this.image =s.image;
        this.link = s.link;
        this.isPublish = s.isPublish;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="3. Các phương thức get/set">

    public int getIdSlide() {
        return idSlide;
    }

    public void setIdSlide(int idSlide) {
        this.idSlide = idSlide;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

   
    public int getIsPublish() {
        return isPublish;
    }

    public void setIsPublish(int isPublish) {
        this.isPublish = isPublish;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }


    //</editor-fold>
}
